﻿<%@ Page Title="Register" Language="C#" MasterPageFile="~/UsersMaster.master" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="SMS.Account.Register" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="UserHeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="UserMainContent">
    <div id="search" class="boxed">
        <h2 class="title" dir="rtl">
            <img src="../App_Themes/Theme/images/Add Item.png" class="img" />
            إضافة عميل جديد</h2>
        <div dir="rtl" class="content">
            <table dir="rtl">
                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="الإسم:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtName" runat="server" />
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtName" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="العنوان:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtAdress" runat="server" />
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtAdress" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label3" runat="server" Text="اسم الدخول:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtUserName" runat="server" />
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtUserName" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label4" runat="server" Text=":كلمة السر"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox TextMode="Password" ID="txtPass" runat="server" />
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtPass" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label8" runat="server" Text="التصريح:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:DropDownList ID="drpRoles" Width="100%" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label5" runat="server" Text="البريد الإلكتروني:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtEmail" runat="server" />
                    </td>
                    <td align="right">
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label6" runat="server" Text="رقم الهاتف:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtPhone" runat="server" />
                        <ajax:FilteredTextBoxExtender ID="txtPhone_FilteredTextBoxExtender" FilterType="Numbers" 
                            runat="server" Enabled="True" TargetControlID="txtPhone">
                        </ajax:FilteredTextBoxExtender>
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtPhone" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label7" runat="server" Text="الموبايل:"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:TextBox ID="txtMobile" runat="server" />
                        <ajax:FilteredTextBoxExtender ID="txtMobile_FilteredTextBoxExtender"  FilterType="Numbers"
                            runat="server" Enabled="True" TargetControlID="txtMobile">
                        </ajax:FilteredTextBoxExtender>
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" ErrorMessage="<img src=../App_Themes/Theme/images/Error.png style=float:right; width=10%; height=10%; />"
                            ControlToValidate="txtMobile" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left">
                        <asp:Button CssClass="checkoutbutton" Text="حفظ" ID="btnSave" runat="server" OnClick="btnSave_Click" />
                        <asp:Label ID="lblREsult" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
